package com.yhy.configclientkafka;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * describe:
 *
 * @author helloworldyu
 * @date 2018/6/7
 */
@Data
@Component
@ConfigurationProperties("dubbo")
@RefreshScope
public class DubboInfo {
	private String host;
	private Integer port;
}